package 文件IO.流OutputStream;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class Main {
    public static void main(String[] args) {
        try(OutputStream outputStream = new FileOutputStream("E:/test.txt",true)){
            for(int i = 97 ;i <= 101;i++){
                outputStream.write(i);
            }
        }catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
